<div class="pb75 pt60 ng-scope">

<!--header-->

<header class="bg1" style="position:{{myHeaderPosition}}}">
	<span class="return"><a ng-click="$location.back()" href=""><img src="img/11.png"/></a></span>
	<p class="title">处理</p>
	<span class="txt1" ><a ng-click="save()" href=""><span style="display:none">保存</span></a></span><span class="nochoose"><a ng-click="submit()" href="">提交</a></span>
</header>

<section class="mt10 mlr10 bg2 pb75">
<form name="form" novalidate="novalidate">
	<ul class="list-3 list-3-1">
		<li class="clearfix">
			<span class="l l1"><img src="img/i-xq-12.jpg"/>整改落实<br/>情况</span><span class="r r1">
			<label for="iHandleDesc" style="color:#aaa;">您还可输入{{remain}}个字符</label>
			<textarea cols="" rows="" class="fromarea" ng-change="contentChanged(0)" id="iHandleDesc" oninput= "fitTextArea('iHandleDesc')" ng-model="issueItem.handleDesc" placeholder="点此输入" required ng-maxlength="150" maxlength="150" name="handleDesc"></textarea>
			<span style="color:red" ng-show="form.handleDesc.$dirty && form.handleDesc.$invalid">
			<small ng-show="form.handleDesc.$error.maxLength">整改情况长度不能超过150</small>
				<small ng-show="form.handleDesc.$error.required">整改情况不能为空</small>
 			</span>
			</span>
		</li>
		<li class="clearfix">
			<span class="l"><img src="img/i-xq-5.jpg"/>相片</span>
			<span class="r pr">
			<span ng-repeat="pic in issueItem.handlePicList" class="pic" style="margin-right:5px;">
			<img ng-src="{{pic.thumbnailUrl}}" style="width:100%; vertical-align:bottom;margin-bottom:0;" my-touch-remove="removeImage(pic.fileUrl)"/></span>
			<my-media-selector src="img/i-jia.jpg" class="pic" type="img" change="imageChanged($uri)"></my-media-selector>
			<!-- 
			<span ng-repeat="pic in issueItem.handlePicList" class="pic" style="margin-right:5px;"><img ng-src="{{pic.thumbnailUrl}}" style="width:100%;"/></span>
			<img src="img/i-jia.jpg" class="pic"/>
			<input type="file" accept="image/*" class="file" onchange="angular.element(this).scope().imgChanged(this)"/> -->
			</span>
		</li>
		<li class="clearfix" ng-if="issueItem.issueType != Constants.ISSUETYPE_MATERIAL">
			<span class="l"><img src="img/i-xq-7.jpg"/>视频</span><span class="r pr">
			<span ng-repeat="vid in issueItem.handleVideoList" class="vid" style="margin-right:5px;">
			<my-video poster="vid.thumbnailUrl" src="vid.fileUrl"  width="50px" height="50px" margin-top="5px" my-touch-remove="removeVideo(vid.fileUrl)"></my-video></span>
			<my-media-selector src="img/i-jia.jpg" class="pic" type="video" change="videoChanged($uri)"></my-media-selector>
			<!-- <span ng-repeat="vid in issueItem.handleVideoList" class="vid" style="margin-right:5px;"><my-video src="vid.thumbnailUrl" height="50px"></my-video></span><img src="img/i-jia.jpg" class="pic"/><input type="file" accept="video/*" class="file" onchange="angular.element(this).scope().videoChanged(this)"/> -->
			</span>
		</li>
		<li class="clearfix" ng-if="issueItem.issueType != Constants.ISSUETYPE_MATERIAL">
			<span class="l l1"><img src="img/i-xq-8.jpg"/>人员教育<br/>情况</span>
			<span class="r r1">
			<label for="iLessonDesc" style="color:#aaa;">您还可输入{{remain1}}个字符</label>
			<textarea cols="" rows="" class="fromarea"  ng-change="contentChanged(1)" id="iLessonDesc" ng-model="issueItem.lessonDesc" name="lessonDesc" placeholder="点此输入" required ng-maxlength="150" maxlength="150"></textarea>
			<span style="color:red" ng-show="form.lessonDesc.$dirty && form.lessonDesc.$invalid">
			<small ng-show="form.lessonDesc.$error.maxLength">教育情况长度不能超过150</small>
				<small ng-show="form.lessonDesc.$error.required">教育情况不能为空</small>
 			</span>
			</span>
		</li>

		<li class="clearfix" ng-if="issueItem.issueType != Constants.ISSUETYPE_MATERIAL">
			<span class="l l1"><img src="img/i-xq-9.jpg"/>同类问题<br/>防治措施</span>
			<span class="r r1">
			<label for="iPreventionDesc" style="color:#aaa;">您还可输入{{remain2}}个字符</label>
			<textarea ng-model="issueItem.preventionDesc" id="iPreventionDesc" cols="" rows="" class="fromarea" placeholder="" ng-change="contentChanged(2)" placeholder="点此输入" required ng-maxlength="150" maxlength="150" name="preventionDesc"></textarea>
			<span style="color:red" ng-show="form.preventionDesc.$dirty && form.preventionDesc.$invalid">
			<small ng-show="form.preventionDesc.$error.maxLength">防治措施长度不能超过150</small>
				<small ng-show="form.preventionDesc.$error.required">防治措施不能为空</small>
 			</span>
			</span>
		</li>
		<li class="clearfix" ng-if="issueItem.issueType != Constants.ISSUETYPE_MATERIAL">
			<span class="l"><img src="img/i-xq-10.jpg"/>隐患类型</span>
			<span class="r">
			<select class="fromselect"  ng-model="issueItem.issueCategory" ng-if="issueItem.issueType ==1" ng-change="selectAction()"  ng-options="cat.id as cat.name for cat in issueCats"></select>
			<select class="fromselect"  ng-model="issueItem.issueCategory" ng-if="issueItem.issueType == 2"  ng-change="selectAction()"  ng-options="cat.id as cat.name for cat in issueCatsSafe"></select>
			<span ng-if="issueItem.issueCategory==4" ><input ng-model="issueItem.issueCategoryRemark" name="categoryMark" type="text" class="fromtxt" placeholder="请输入其他隐患类型" maxlength="15" style="margin-top: 5px;" required/>
			<span style="color:red" ng-show="form.categoryMark.$invalid">
			<small ng-show="form.categoryMark.$error.maxLength">隐患类型长度不能超过15</small>
				<small ng-show="form.categoryMark.$error.required">请输入备注内容</small>
 			</span>
			</span>
			</span>
			  
		</li>
	</ul>
	</form>
</section>


<div class="mtip" style="display:{{tipVisibility}};">{{tipContent}}</div>

</div>
